"#ppthapps\tiff2pdf\bin\tiff2pdf.exe" |--program file--
#remark page size, if needed|-p A4 |-p letter |-p legal |--page size--
#remark compression|-z |-j |-j -q 90 |-d |--compression: zip or decompress (no compression)--
-o "#path#name-out.pdf" |-o "#path#name.pdf" |--output file--
"#item" |--input file--

<comment>
Convert multipage tiff to PDF using tiff2pdf.
(http://www.remotesensing.org/libtiff/)
Jpeg compression requires tiff image to already be compressed with jpeg.
You can use 'merger tiff files to multipage tiff (tiffcp)" script for that.

using '-j -q 90' returns error

-o output-file
Set the output to go to file. output-file

-j
Compress with JPEG (requires libjpeg configured with libtiff).

-z
Compress with Zip/Deflate (requires zlib configured with libtiff).

-q quality
Set the compression quality, 1-100 for JPEG.

-n
Do not allow data to be converted without uncompressing, no compressed data passthrough.

-b
Set PDF Interpolate user preference.

-d
Do not compress (decompress).

-i
Invert colors.

 -p paper-size
Set paper size, e.g., letter, legal, A4.

-u [i|m]
Set distance unit, i for inch, m for centimeter.

-w width
Set width in units.

-l length
Set length in units.

-x xres
Set x/width resolution default.

-y yres
Set y/length resolution default.

-r [d|o]
Set d for resolution default for images without resolution, o for resolution override for all images.

-f
Set PDF Fit Window user preference.

-e YYYYMMDDHHMMSS
Set document information date, overrides image or current date/time default, YYYYMMDDHHMMSS.

-c creator
Set document information creator, overrides image software default.

-a author
Set document information author, overrides image artist default.

-t title
Set document information title, overrides image document name default.

-s subject
Set document information subject, overrides image image description default.

-k keywords
Set document information keywords.

-h
List usage reminder to stderr and exit.